package com.cy.mall.model.ao.store;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 新增门店字段
 *
 * @author tanyilin
 *
 * @create 2019年1月24日 下午3:24:24
 */
@Data
@ApiModel("新增门店字段")
public class StoreAddAO {

	@ApiModelProperty(value = "brandId", example = "0")
	@NotNull(message = "品牌ID不可为空")
	private Long brandId;
	
	@ApiModelProperty(value = "名称")
	@NotEmpty(message = "名称不可为空")
	private String name;
	
	@ApiModelProperty(value = "地址")
	@NotEmpty(message = "地址不可为空")
	private String address;
}
